Intraoperative spinal measurement system